﻿@model IFDB.ViewModels.PageViewModels.Membership.LocalPasswordModel

@using (Html.BeginForm("Manage", "Account")) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <fieldset>
        <legend>You do not have a local password for this site. Add a local password so you can log in without an external login.</legend>
        <div>
            @Html.LabelFor(m => m.NewPassword)
        </div>
        <div>
            @Html.PasswordFor(m => m.NewPassword)
        </div>
        <div>
            @Html.LabelFor(m => m.ConfirmPassword)
        </div>
        <div>
            @Html.PasswordFor(m => m.ConfirmPassword)
        </div>
        <div>
            <input type="submit" value="Set password" />
        </div>
    </fieldset>
}
